home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / e / mailinglists / amigae.0993sept.archive / 000068_crash!kirk.safb.af.mil!BWILLS_Sun, 26 Sep 93 02:24:20 PST.msg < prev    next >
Internet Message Format  |  1994-05-26  |  1KB

  1. Received: by bkhouse.cts.com (V1.16/Amiga)
  2.     id AA00000; Sun, 26 Sep 93 02:24:20 PST
  3. Received: from kirk.safb.af.mil by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #18) id m0ogbpN-00008iC; Sat, 25 Sep 93 08:46 PDT
  5. Message-Id: <m0ogbpN-00008iC@crash.cts.com>
  6. Date: 25 Sep 93 10:45:00 CST
  7. From: "Barry D. Wills" <BWILLS@kirk.safb.af.mil>
  8. To: "amigae" <amigae@bkhouse.cts.com>
  9. Subject: Re: Oops... (integer overflow/underflow)
  10.  
  11. >how the array was storing those negative integers...instead of storing them
  12. >with a minus sign, it simply rolled backwards from 0 to 65536 and decremented
  13. >from there.  I just hope that that roll-over works both ways (i.e., increment
  14. >past 65536 and get back to 0), otherwise I'm going to have about 35,000
  15. >very confusing counters running...
  16.  
  17. Yes, Mark, I've encountered this same phenomenon in C, too.  The roll-over 
  18. works both ways.  It's a hardware thang.
  19.  
  20. >'til after the movie with my girlfriend tonight,
  21. >(see, we programmers DO have lives!)
  22.  
  23. :-)
  24.  
  25. -- Barry